Update order history means that magic5 can maintain an order history for each location on the system. This contains one set of order details (Date and Reference) and multiple order lines, each consisting of an item (equating to a list entry), a quantity and, optionally, a price. The order history can be made available on the device (Item Type - Extension history) so that a user can see what a customer has ordered in the past. This template action triggers the data collected on a device to be assimilated into the order history for the location selected for the form. |
Main |
Main screen for this action | ||||||||||
*Description |
A descriptive text to identify this action |
||||||||||
*Unique name of source table |
Enter the unique name of the table from which the data is to be taken. This will be used to update the stock level. |
||||||||||
*Order number/reference |
Enter the unique name of the item type (if there is one) that contains an order reference that has been collected and sent back by the device. For example, if the unique name is OrderRef then enter "%@OrderRef". |
||||||||||
|
|||||||||||
Post-action processing (advanced) |
After an action has finished running a file can be executed on the server. This could be, for instance, a .exe or a .bat file. Typically this would be used to insert data into another system. |
||||||||||
File name to run | Enter the full path and filename here. Ensure that it is correctly spelt and that the file extension (such as .exe or .bat) is also correct. | ||||||||||
Command line to run | If the file specified above requires additional information on its command line, please enter it here. Contact your magic5 expert for further help. | ||||||||||
Folder to run from | Enter the full path and folder name that the executable programme needs to be launched from. | ||||||||||
URL | Instead of running an executable file locally, an http request can be sent to the URL specified here. It can contain standard variables. | ||||||||||
HTTP verb | Choose the http verb to be sent with the request to the URL specified above. If you do not know what this is, ask your magic5 expert. | ||||||||||
HTTP request body | This will be very different in different circumstances and probably needs to defined at the implementation stage. It can contain standard variables and may contain the data entered on the form. |